<?php
/**
 * Created by PhpStorm.
 * User: SUNSHUBO
 * Date: 2017/6/16
 * Time: 22:46
 */

$url = 'http://h5.tv189.com/csite/wap/output/yytvod?contid=C40132750';
$htmlCode = file_get_contents($url);
$abs = strpos($htmlCode, "parentContInfo = {");
$abt = strpos($htmlCode, "console.log(");
//echo $abs;
echo substr($htmlCode, $abs + 17, $abt - $abs - 17);